package com.ecoolex.discount.sales.ws;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.fastjson.JSONObject;
import com.ecoolex.discount.sales.core.service.UnionPayService;

@Service
public class UnionPaySignatureServiceImpl implements UnionPaySignatureService{
	
	@Autowired
	private UnionPayService unionPayService;

	@Override
	public Boolean checkSignature(JSONObject request_data) {
		return unionPayService.checkSignature(request_data);
	}

	@Override
	public String decrypt(String encryptData) {
		return unionPayService.decrypt(encryptData);
	}

}
